﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace SupportWebsite.Models
{
    public class MemberModel
    {
        [Required(ErrorMessage = "Please enter Name")]
        public string Name { get; set; }
        [Required(ErrorMessage = "Please enter Gender")]
        public int Gender { get; set; }
        [Required(ErrorMessage = "Please enter College")]
        public int CollegeId { get; set; }
        [Required(ErrorMessage = "Please enter University")]
        public int UniversityId { get; set; }
        public DateTime BirthDate { get; set; }
        public string CVFile { get; set; }
        [Required(ErrorMessage = "Please enter JoinDate")]
        public DateTime JoinedDate { get; set; }
        [Required(ErrorMessage = "Please enter AcademicYear")]
        public string AcademicYear { get; set; }
        public string Password { get; set; }
        public string UserName { get; set; }
        [Required(ErrorMessage = "Please enter IsActive")]
        public int IsActive { get; set; }
        public string LargeImage { get; set; }
        public string SmallImage { get; set; }
        public int CurrentPostionId { get; set; }
        public int CurrentCommitteeId { get; set; }
        [Required(ErrorMessage = "Please enter Email")]
        public string Email { get; set; }
        [Required(ErrorMessage = "Please enter Mobile")]
        public string Mobile { get; set; }
        public string Phone { get; set; }

    }
}